---
sidebar_position: 4
---

# 📦 remark-plugin-import-file

Imports the content of a file in markdown.

## Usage

Read the [Import file documentation](/docs/markdown-features/import-file).

## Configuration

Install the plugin

```bash npm2yarn
npm install @rise4fun/docusaurus-remark-import-file
```

and add to your `docusaurus.configuration.js` file as other remark plugins.

```js
const config = {
    plugins: [
        ...,
        // highlight-start
        "@rise4fun/docusaurus-remark-import-file"
        // highlight-end
    ]
}
```
